Clicking on a Layer Tab makes that layer active. The Active Layer has a larger, brighter tab than the others. A layer must be active for you to paint on it or edit it.